export function windows_size() {
  // var thiswidth = window.innerWidth
  let thisHeight = window.innerHeight
  let appElement = document.getElementById("pageshow")
  // appElement.style.transform = "scale("+(thiswidth/1920)+")"
  appElement.style.transform = "scale(" + (thisHeight / 928) + ")"

  let _this = this;//赋值vue的this
  console.log(_this);
  window.onresize = () => {
    //调用methods中的事件
    // appElement.style.transform = "scale("+(window.innerWidth/1920)+")"
    thisHeight = window.innerHeight
    appElement.style.transform = "scale(" + (thisHeight / 928) + ")"

  }
}
// 千位分隔符数字处理器
export function formattedNumber(number) {
  return new Intl.NumberFormat('en-US').format(number);
}